{include file="header.tpl" title="Duyet glmast 2 "}
<form action="" method="post" name="sanpham" target="_self">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td colspan="3">
<input type="button" value="{$ten_trove}" onClick="history.back();" class="button_style" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"></td>
<td align="right" nowrap="nowrap">
<select name="hanhdong" size="1" onChange="changevalue('hanhdong');">
   {foreach from=$chuyentrang key=k item=v}
      <option value="{$k}" {if $select_cbo_chuyentrang eq $k} selected="selected" {/if}>{$v}</option>
 	{/foreach}
</select>
<input name="action" type="submit" value="{$ten_thuc_hien}" class="button_style" onClick="" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"/></td>
</tr>
<tr>
<td colspan="4">
<hr></td>
</tr>
   <tr>
    <td>{$lbl_BRNCODE}</td>
     <td colspan="3" style="color:#FF0000"><input name="BRNCODE" id="BRNCODE" type="text" style="background:{$colorBRNCODE}" value="{$BRNCODE}" size="20" maxlength="3" onblur="this.value=this.value.toUpperCase().replace(' ','');" onkeypress="return numberOnly2(event);" {if $activefield eq 'enabled' } readonly="readOnly"{/if}/>
       * 
	    <input type="submit" name="find" value="    " id="replacement_find" {if $activefield eq 'enabled' } disabled="disabled"{/if}/>
	  <!-- <input name="SEQNO" type="text" id="SEQNO" value="{$SEQNO}" style="visibility:hidden" />-->      </td>
  </tr>
  <tr>
    <td>{$lbl_ACCTNO}</td>
     <td colspan="3" style="color:#FF0000">
	 <input name="ACCTNO" id="ACCTNO" type="text" style="background:{$colorACCTNO}" value="{$ACCTNO}" size="20" maxlength="10" onblur="this.value=this.value.toUpperCase().replace(' ','');" onkeypress="return numberOnly2(event);" {if $activefield eq 'enabled' } readonly="readOnly"{/if}/>
	  
       *       </td>
  </tr> 
  <tr>
    <td nowrap="nowrap">{$lbl_ACNAME}</td>
    <td colspan="3" style="color:#FF0000"><p>
      <input name="ACNAME" id="ACNAME" type="text" value="{$ACNAME}" size="50" maxlength="100" style="background:{$colorACNAME}"  readonly="readonly"/>
    </p>      </td>
  </tr>
  <tr>
    <td>{$lbl_DORC}</td>
    <td colspan="3"><span style="color:#FF0000">
      <select name="DORC" id="DORC" size="1" style="background:{$colorDORC}" disabled="disabled">
        <option value=""/></option>
        
      {foreach from=$cbo_DORC key=k item=v}
	  	
        <option value="{$k}" {if $k eq $DORC} selected="selected" {/if} >{$k}</option>
        
	  {/foreach}
    
      </select>
    </span></td>
  </tr>
  <tr>
    <td>{$lbl_TYPE}</td>
    <td colspan="3"><span style="color:#FF0000">
      <input name="TYPE" id="TYPE" type="text" style="background:{$colorTYPE}" value="{$TYPE}" size="20" maxlength="3" onblur="this.value=this.value.toUpperCase().replace(' ','');" onkeypress="return numberOnly2(event);" {if $activefield eq 'enabled' } readonly="readOnly"{/if}/>
    *</span></td>
  </tr>
  <tr>
    <td>{$lbl_CURCODE}</td>
    <td colspan="3"><span style="color:#FF0000">
      <input name="CURCODE" id="CURCODE" type="text" style="background:{$colorCURCODE}" value="{$CURCODE}" size="20" maxlength="3" onblur="this.value=this.value.toUpperCase().replace(' ','');" onkeypress="return numberOnly2(event);" {if $activefield eq 'enabled' } readonly="readOnly"{/if}/>
    *</span></td>
  </tr>
  <tr>
    <td>{$lbl_FCYCODE}</td>
    <td colspan="3"><input name="FCYCODE" id="FCYCODE" type="text" value="{$FCYCODE}" size="15" maxlength="3" />
      <span style="color:#FF0000">*</span></td>
  </tr>
  <tr>
    <td>{$lbl_STATUS}</td>
    <td colspan="3"><span style="color:#FF0000">
      <select name="STATUS" id="STATUS" size="1" style="background:{$colorSTATUS}" disabled="disabled">
        <option value=""/></option>
        </option>       
      {foreach from=$cbo_STATUS key=k item=v}     
        <option value="{$k}" {if $k eq $STATUS} selected="selected" {/if} >{$k}</option> 
	  {/foreach}     
      </select>
    </span></td>
  </tr> 
  
<tr>
<td colspan="4">&nbsp;</td>
</tr>
<td colspan="4">&nbsp;</td>
</tr>
<tr>
   <td align="right" nowrap="nowrap" colspan="4">
  <input type="button" name="cancle" id="cancle" value="{$ten_cancle}" class="button_style" onClick="activeform(this.form,'ACCTNO-DORC-PSTACT-replacement_find-findlaisuat2232-findlaisuat2233');" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'" />
<input value="{$lbl_tuchoi}" name="tuchoi" type="submit" class="button_style" onClick="" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'" {if $activefield eq 'disabled' }disabled="disabled" {/if}/>
 <input value="{$lbl_duyet}" name="duyet" type="submit" class="button_style" onClick="" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'" {if $activefield eq 'disabled' }disabled="disabled" {/if}  />  </td>
</tr>
<tr>
<td colspan="4"><input value="{$lbl_lichsuthaydoi}" name="lichsuthaydoi" type="button" class="button_style" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'" onClick="mywindow = window.open('lich_su_glmast.php?id={$BRNCODE}-{$ACCTNO}-{$TYPE}-{$CURCODE}-{$FCYCODE}', 'mywindow','menubar=0,scrollbars=1,resizable=0,width=700,height=300');mywindow.moveTo((screen.width-700)/2,(screen.height-300)/2);" /></td>
</tr>
<tr>
<td colspan="4">
<hr></td>
</tr>
<tr>
<td colspan="3">
<input type="button" value="{$ten_trove}" onClick="history.back();" class="button_style" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"></td>
<td align="right" nowrap="nowrap"> 
<select name="hanhdong1" size="1" onChange="changevalue('hanhdong1');">
   {foreach from=$chuyentrang key=k item=v}
      <option value="{$k}" {if $select_cbo_chuyentrang eq $k} selected="selected" {/if}>{$v}</option>
 	{/foreach}
</select>
<input name="action1" type="submit" value="{$ten_thuc_hien}" class="button_style" onClick="" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"></td>
</tr>
</table>
</form>
{include file="footer.tpl"}